package com.hongliang.lock;

/**
 * @author Hongliang Zhu
 * @create 2022-02-27 19:35
 */
public class SyncLockMain {

    public static void main(String[] args) {
        SyncLock lock = new SyncLock();

        for (int i =0 ; i < 20000; i++){
//            int finalI = i;
            new Thread(()-> lock.process("000")).start();
        }
    }
}
